package net.huashitong.scheduling.service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.scheduling.dao.BranchCompanyDao;
import net.huashitong.scheduling.entity.BranchCompany;
import net.huashitong.scheduling.filter.BranchCompanyFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BranchCompanyService  extends StringPKService<BranchCompany> {
    @Autowired
    private BranchCompanyDao dao;
    protected BaseDao<BranchCompany,String> getDao(){
        return dao;
    }
    public List<BranchCompany> queryBranchCompanyList(BranchCompanyFilter filter){
        return dao.queryBranchCompanyList(filter);
    }
}
